﻿/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

CKEDITOR.editorConfig = function (config) {
    // Define changes to default configuration here. For example:
    config.language = 'zh-cn';
    config.skin = 'kama';
    config.enterMode = Number(2); //回车键入<br/>分1，2，3，代表<p><br><div>
    //config.toolbar = 'Full'; // 工具栏风格Full,Basic
    config.width = 'auto'; // 宽度   
    config.height = '220px'; // 高度
    // config.uiColor = '#AADC6E';
    config.toolbar =
    [

    ['Source', 'Preview', '-'],

    ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', ],

    ['Undo', 'Redo', '-', 'Find', 'Replace', '-', 'SelectAll', 'RemoveFormat'],

    ['Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak'],
    ['Link', 'Unlink', 'Anchor'],

    '/',

    ['Bold', 'Italic', 'Underline', '-', 'Subscript', 'Superscript'],

    ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote'],

    ['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],

    //'/',

    ['Format', 'Font', 'FontSize'],

    ['TextColor', 'BGColor']

    ];

};
